OtpButtonColors
Colors of an OTP button, created with OtpButtonDefaults.colors. content should have at least 4.5:1 contrast against container (WCAG 1.4.3); violations are logged once and listed in contrastWarnings, never thrown, so brand colors remain usable. The disabled pair is exempt.
Properties
Functions
Link copied to clipboard
Contrast problems when the colors are resolved for traits, for example dark mode or Increase Contrast.